package com.ljx;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author 李加喜
 * @date 2020/9/22 0022 8:26
 * @Email 1129071273@qq.com
 */

/**
 * 整体架构思维: controller-->serviceImpl-->Service-->Mapper 通过mybatis-plus都实现了封装
 * 实现了集合模块之间的调用以依赖
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
//@ComponentScan(basePackages = {"com.ljx"})
//这里设置ComponentScan的作用是扫描swagger的包
//这里能够屏蔽是一位导入模块之后  对应的包名与自身的包名一致
public class EduApplication {
    public static void main(String[] args) {
        SpringApplication.run(EduApplication.class,args);
    }
}
